home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_shs_dynalight.cog < prev    next >
Text File  |  1999-11-15  |  927b  |  48 lines

  1.  
  2. # Jones 3D Cog Script
  3. #
  4. # SHS_DynaLight.cog
  5. #
  6. # Attatch up to 4 things to create dynamic light at those positions.
  7. #
  8. # [TRM]
  9. #
  10. # 10/21/98 RT: Added radius
  11. #
  12. # (C) 1998 LucasArts Entertainment Company LLC. All Rights Reserved
  13. #
  14. # ========================================================================================
  15.  
  16. symbols
  17.  
  18.     message     startup
  19.  
  20.     thing       thing0
  21.    
  22.     flex        rval=1
  23.     flex        gval=1
  24.     flex        bval=1
  25.     flex        radius=1.0
  26.     flex        speed=.01
  27.  
  28.     vector      color           local
  29.  
  30.     
  31.              
  32. end
  33.  
  34. # ========================================================================================
  35.  
  36. code
  37.  
  38. startup:
  39.  
  40.        
  41.      
  42.     SetThingLight(thing0, VectorSet(rval, gval, bval), radius, speed);
  43.     return;
  44.            
  45. # ========================================================================================
  46.  
  47. end
  48.